package cnam.smb215.findfriends;

import android.graphics.drawable.Drawable;

public class Globals {
	public static final int TYPE_UPDATE_LOCATION = 1;
	public static final int TYPE_SIGN_UP = 2;
	public static final int TYPE_GET_PEOPLE = 3;
	public static final int TYPE_GET_ALL_PEOPLE = 4;
	
	public static int MY_ID = 0;
	public static String MY_EMAIL = "";
	public static Drawable DEFAULT_ICON;
	public static Drawable DEFAULT_ICON_USERS;
	public static boolean FORCE_CLOSE_REGISTRATION = false;
	public static int SPLASH_SCREEN_DELAY = 3000;
	public static final int DEFAULT_ZOOM_LEVEL = 14;
	
	//Preferences file name and keys
	public static String FILE_NAME_PREF = "prefs";
	public static String PREF_FIRST_RUN = "firstRun";
	public static String PREF_ID = "id";
	public static String PREF_NAME = "name";
	public static String PREF_EMAIL = "email";
	
	//Search, Names extra
	public static final String EXTRA_NAMES = "names";
	public static final String EXTRA_RESULT = "result";
	
	//User Image
	public static int USER_IMAGE_WIDTH = 60;
	public static int USER_IMAGE_HEIGHT = 60;
	
	//Server Info
	public static String SERVER_IP = "http://www.efkhoury.com/aok";
	public static String SERVER_URL = SERVER_IP + "/FindFriendService.php";
	public static String URL_PARAM_TYPE = "type";
	public static String URL_PARAM_EMAIL = "email";
	public static String URL_PARAM_NAME = "name";
	public static String URL_PARAM_LATITUDE = "lat";
	public static String URL_PARAM_LONGITUDE = "long";
}